﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Warehouse.Web.Management.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        function frmContent_Loaded() {
            $("#frmContent").css("visibility", "visible");
        }
        $(function() {
            $("#modulelist a").click(function() {
                $("#frmContent").css("visibility", "hidden");
            });
        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Banner" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_LeftNav" runat="server">
    <h3>
        系统管理</h3>
    <ul id="modulelist">
        <uc:AuthorityControl runat="server" TargetPage="/Management/Products.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink2" NavigateUrl="Products.aspx" runat="server" Target="frmContent">产品管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl runat="server" TargetPage="/Management/Warehouses.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink1" NavigateUrl="Warehouses.aspx" runat="server" Target="frmContent">仓库管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl runat="server" TargetPage="/Management/Distributors.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink3" NavigateUrl="Distributors.aspx" runat="server" Target="frmContent">客户管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl runat="server" TargetPage="/Management/Suppliers.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink6" NavigateUrl="Suppliers.aspx" runat="server" Target="frmContent">供货商管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl ID="AuthorityControl1" runat="server" TargetPage="/Management/AssetAccount.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink7" NavigateUrl="AssetAccount.aspx" runat="server" Target="frmContent">固定资产管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl runat="server" TargetPage="/Management/Carrieres.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink4" NavigateUrl="Carrieres.aspx" runat="server" Target="frmContent">承运商管理</asp:HyperLink></li>
        </uc:AuthorityControl>
        <uc:AuthorityControl runat="server" TargetPage="/Management/Authority.aspx" Action="View">
            <li>
                <asp:HyperLink ID="HyperLink5" NavigateUrl="Authority.aspx" runat="server" Target="frmContent">权限管理</asp:HyperLink></li>
        </uc:AuthorityControl>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <iframe id="frmContent" name="frmContent" class="frmContent" src="Products.aspx"
        frameborder="0" width="100%" height="100%" onload="frmContent_Loaded();"></iframe>
</asp:Content>
